﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZDSoft.TES.Component.SystemComponent;
using Castle.ActiveRecord;

namespace ZDSoft.TES.Web
{
    public partial class Create_Database : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnDB(object sender, EventArgs e)
        {

            ActiveRecordStarter.CreateSchema();//创建数据库存
            new SystemSettingComponent().InitData();
            Response.Write("<Script lanuage= 'javascript'> alert('创建成功!') </Script>");
        }
    }
}